package com.gt.xmall.util;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Iterator;
import java.util.Set;

import org.apache.shiro.config.Ini;

public class TestApp {

public static void main(String[] str) throws Exception{
	
	Ini ini=Ini.fromResourcePath("d:\\test.txt");
	Set set = ini.getSectionNames();
	Iterator iterator =set.iterator();
	while(iterator.hasNext()){
		System.out.println(iterator.next());
	}
	
	String s="www.h.com";
	String s2="www.h.com www.b.com";
	System.out.print(s2.contains(s));
}
}
